package com.sx.zongzhi.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by XZY on 2017/12/7
 * 留守人口
 */
public class PopulationFixedBean implements Serializable{


    /**
     * page : 1
     * records : 1
     * rows : []
     * total : 1
     */

    private int page;
    private int records;
    private int total;
    private PopulationFixedBean.PermissionBean permission;
    private List<RowsBean> rows;

    public PermissionBean getPermission() {
        return permission;
    }

    public void setPermission(PermissionBean permission) {
        this.permission = permission;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRecords() {
        return records;
    }

    public void setRecords(int records) {
        this.records = records;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * age : 27
         * currentAddress : 145
         * gender : {"displayName":"男性","id":"6963AD34E0DC41179DEF9D1DFE0A604E"}
         * id : 88518AF1F36745FA9D041246189ADE62
         * imgUrl : uploadFile/upload/png/2017/12/9/11450414962.png?r=0.9322978098916119
         * nameFont : 453(610526199012231234)
         */

        private int age;
        private String currentAddress;
        private GlobalBean gender;
        private String id;
        private String imgUrl;
        private String nameFont;

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public String getCurrentAddress() {
            return currentAddress;
        }

        public void setCurrentAddress(String currentAddress) {
            this.currentAddress = currentAddress;
        }

        public GlobalBean getGender() {
            return gender;
        }

        public void setGender(GlobalBean gender) {
            this.gender = gender;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getNameFont() {
            return nameFont;
        }

        public void setNameFont(String nameFont) {
            this.nameFont = nameFont;
        }
    }

    public static class PermissionBean implements Serializable {
        private boolean updateLeftBehindPeople;
        private boolean addLeftBehindPeople;
        private boolean deleteLeftBehindPeople;

        public boolean isUpdateLeftBehindPeople() {
            return updateLeftBehindPeople;
        }

        public void setUpdateLeftBehindPeople(boolean updateLeftBehindPeople) {
            this.updateLeftBehindPeople = updateLeftBehindPeople;
        }

        public boolean isAddLeftBehindPeople() {
            return addLeftBehindPeople;
        }

        public void setAddLeftBehindPeople(boolean addLeftBehindPeople) {
            this.addLeftBehindPeople = addLeftBehindPeople;
        }

        public boolean isDeleteLeftBehindPeople() {
            return deleteLeftBehindPeople;
        }

        public void setDeleteLeftBehindPeople(boolean deleteLeftBehindPeople) {
            this.deleteLeftBehindPeople = deleteLeftBehindPeople;
        }
    }

    }
